
.track-wrap{
    width: 100%;
    height: 100%;
    display: flex;

    // 轨迹左侧列表
    .track-list{
        width: 240px;
        min-width: 240px;
        position: relative;
        overflow: hidden;
        border: 1px solid #CFDBE2;
        background-color: #ffffff;
        ol{
            //background-color: #666666;
            //position: absolute;
        }
        li {
            cursor: pointer;

        }
        .li-item{
            padding:10px;
        }
        .track-item{
            width:100%;
            &:hover{
                background-color: #fef0f0;
            }
            p{
                white-space: normal;
                word-break: break-all;
                padding-left: 30px;
                min-height: 30px;
                &:nth-child(1) {
                    background: url(../gj_start.png) no-repeat left 15px;
                    margin-bottom: 10px;
                }
                &:nth-child(2) {
                    background: url(../gj_end.png) no-repeat left 15px;
                }
                strong,span{
                    padding:5px 0;
                    display: inline-block;
                }
                strong{

                }
            }
            .tracn-icon{
                width:100%;
                font-size: 20px;
                text-align: center;
            }

        }
        .track-item-info{
            padding:0 20px 0 30px;
            div{
                line-height: 25px;
                span{
                    &:nth-child(1){
                        display: inline-block;
                        width:60px;
                    }
                }
            }
        }
        .page-box{
            position: absolute;
            bottom: 0;
            width: 100%;;
            height: 50px;
            border-top:1px solid #CFDBE2;
        }
    }

    // 轨迹右侧区域
    .track-map{
        flex:1;
        border: 1px solid #CFDBE2;
        line-height: 38px;
        .trackplayer{
            display: flex;
            padding:10px 0;
            .traceicon{
                padding-left: 8px;
            }
        }
        .map-box{
            width:100%;
            height: 100%;
        }
    }
}




.basedata-track-container {
    height: 100%;
    width: 100%;
    .list {
        background-color: #ffffff;
        width: 240px;
        min-width: 240px;
        position: relative;
        overflow: hidden;
        border: 1px solid #CFDBE2;
        .all {
            padding: 10px;
            input {
                margin: 5px;
                vertical-align: middle;
            }
        }
        .no-record {
            line-height: 4;
            text-align: center;
            color: #999999;
        }
        ol {
            position: absolute;
            height: calc(100% - 40px);
            width: 100%;
            overflow-x: hidden;
            overflow-y: auto;
            top: 0px;
            padding: 0;
            li {
                cursor: pointer;
            }
            .li-item.active {
                background-color: #e0f4f2;
            }
            .li-item {
                list-style: none;
                white-space: nowrap;
                padding: 0 10px;
                position: relative;
                border-bottom: 1px solid #cccccc;
                i {
                    position: absolute;
                    right: 40px;
                    bottom: 10px;
                    width: 24px;
                    height: 24px;
                    background: url(../gj_icon.png) no-repeat -6px -116px;
                }
                input {
                    -webkit-appearance: none;
                    -moz-appearance: none;
                    -ms-appearance: none;
                    appearance: none;
                    outline: none;
                    border: 0;
                    position: absolute;
                    height: 20px;
                    cursor: pointer;
                    right: 14px;
                    bottom: 10px;
                }
                .show {
                    width: 26px;
                    &:checked {
                        background: rgba(0, 0, 0, 0) url(../gj_icon.png) no-repeat -5px -92px;
                    }
                }
                &:hover {
                    background-color: #e0f4f2;
                    .show {
                        background: rgba(0, 0, 0, 0) url(../gj_icon.png) no-repeat -5px -92px;
                    }
                }
                em {
                    font-weight: bolder;
                    padding: 0;
                    vertical-align: top;
                    margin: 10px;
                    margin-left: 0;
                }
                >div {
                    width: 290px;
                    p {
                        white-space: normal;
                        word-break: break-all;
                        margin: 10px 10px 10px 0;
                        padding-left: 30px;
                        min-height: 30px;
                        &:nth-child(1) {
                            background: url(../gj_start.png) no-repeat;
                        }
                        &:nth-child(2) {
                            background: url(../gj_end.png) no-repeat;
                        }
                    }
                }
            }
            .li-detail {
                border-bottom: 1px solid #cccccc;
                .nav-tabs {
                    li {
                        white-space: nowrap;
                    }
                }
                .chart-box {
                    p {
                        text-align: center;
                        margin: 10px 0;
                    }
                }
                .err-code {
                    max-width: 228px;
                    word-break: break-word;
                }
            }
        }
        .t-page {
            position: absolute;
            bottom: 0;
            ul {
                margin: 0;
            }
        }
    }
    .map {
        flex: 1;
        height: 100%;
        position: relative;
        border: 1px solid #CFDBE2;
        overflow: hidden;
        .map-wraper {
            position: absolute;
            top: 0;
            width: 100%;
            height: 100%;
            .amp-container {
                width: 100%;
                height: 100%;
            }
            .speed-tip {
                padding: 2px 6px;
                line-height: 1.5;
                border: 1px solid #cccccc;
                background-color: #ffffff;
                &:before {
                    content: '';
                    position: absolute;
                    border: 1px solid #000000;
                    width: 10px;
                    height: 10px;
                    border-radius: 8px;
                    left: -10px;
                    top: -10px;
                    background: #ffffff;
                }
            }
            .amp-icon-err {
                width: 25px;
                height: 37px;
                background: url(../gj_err.png) no-repeat;
                color: #ffffff;
                text-align: center;
                line-height: 1.5;
            }
            .amp-label {
                padding: 0 4px;
                color: #ffffff;
                background-color: #2B81FF;
                border-color: #2B81FF;
                margin-left: 2px;
            }
            .amp-label-err {
                border-color: #d92a0b;
                background-color: #d92a0b;
                margin-left: 0;
            }
            .amp-label-start {
                background-color: #ffffff;
                color: green;
                border-color: green;
                font-weight: bold;
            }
            .amp-label-end {
                background-color: #ffffff;
                border-color: red;
                color: red;
                font-weight: bold;
            }
            .amp-container {
                position: relative;
                width: 100%;
                height: 100%;
            }
            .amp-icon {
                width: 25px;
                height: 37px;
                background: url(../icon.png) no-repeat 0 0;
                background-position: -75px 0
            }
            .amp-icon-start,
            .amp-icon-end {
                width: 38px;
                height: 52px;
                text-align: center;
                color: #ffffff;
                line-height: 36px;
                background-position: -38px 0
            }
            .amp-icon.amp-icon-end {
                background-position: 0 0
            }
            .amp-label {
                padding: 2px 5px;
                border-width: 1px;
                border-style: solid;
                white-space: nowrap;
                background-color: #ffffff;
                color: #2c2c2c;
                font-size: 12px
            }
        }
        //地图图例
        .gj-legend {
            background-color: #ffffff;
            display: inline-block;
            position: absolute;
            z-index: 10;
            .rzslider {
                margin: 10px 0 10px 0;
                .rz-pointer {
                    width: 18px;
                    height: 18px;
                    top: -8px;
                }
                .rz-pointer:after {
                    position: absolute;
                    top: 5px;
                    left: 5px;
                    width: 8px;
                    height: 8px;
                    background: #ffffff;
                    border-radius: 4px;
                    content: '';
                }
            }
            li {
                padding: 2px 8px;
                &:before {
                    content: '';
                    width: 12px;
                    height: 12px;
                    display: inline-block;
                    vertical-align: -2px;
                    margin-right: 8px;
                }
                &:nth-child(1) {
                    font-size: 12px;
                    padding-left: 3px;
                    &:before {
                        width: 0;
                        height: 0;
                    }
                }
                &:nth-child(2):before{
                    background-color: #6edc46;
                }
                &:nth-child(3):before{
                    background-color: #ffbe1e;

                }
                &:nth-child(4):before{
                    background-color: #ff8732;

                }
                &:nth-child(5):before{
                    background-color: #ff4027;

                }
                &:nth-child(6):before{
                    background-color: #f00055;

                }
            }
        }
    }
}

#car {
    width: 22px;
    height: 40px;
    background-size: 100% 100%;
    background-image: url(../active.png);
    transition: all .05s;
}

.detailBox {
    border: #D3D4D9 1px solid;
    border-bottom: none;
    margin-bottom: 5px;
    .detailTab {
        padding: 5px;
        border-bottom: #D3D4D9 1px solid;
        span {
            display: inline-block;
            width: 50%;
            text-align: center;
        }
    }
}
